﻿
namespace EFJsonApp.Share.Models;

public class InterviewInfo
{
    public int Id { get; set; }
    public string Name { get; set; }=string.Empty;
    public required Dictionary<string,object> JsonData { get; set; } // 使用字典存储 JSON 数据，object 类型可以存储任意 JSON 数据
}

/*
     create table "InterviewInfo"(
         "Id" serial not null,
         "Name" varchar(50) not null,
         "JsonData" jsonb not null,
         primary key ("Id")
     );
 */